ASP.NET Core MVC Controls | ComponentOne
C1.AspNetCore.Mvc Assembly / C1.Web.Mvc Namespace / MenuBase<T> Class / DropDownCssClass Property

In This Topic
    DropDownCssClass Property (MenuBase<T>)
    In This Topic
    Gets or sets a CSS class name to add to the control's drop-down element.
    Syntax
    'Declaration
     
    Public Property DropDownCssClass As String
    public string DropDownCssClass {get; set;}
    Remarks
    This property is useful when styling the drop-down element, because it is shown as a child of the document body rather than as a child of the control itself, which prevents using CSS selectors based on the parent control.
    See Also